package com.tulei.system.service;

import com.tulei.system.Entity.SysMenu;
import com.tulei.system.Entity.vo.RouterVo;

import java.util.List;

public interface MenuService {
    public List<SysMenu> selectMenuList(Long userId);

    List<SysMenu> listParent();


    List<SysMenu> getList();


    void createMenuParentRedis();

    void createMenuRedis();


    List<Integer> getMenuListByRole(Integer access);

    List<RouterVo> buildMenus(List<SysMenu> menus);
}
